const mongoose = require('mongoose')

const registerModel = ({ collectionName, schemaName }) => {
    return mongoose.model(collectionName, schemaName)
}

module.exports = registerModel